<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>无标题文档</title>
	<link href="<?php echo $_BASE_DIR?>css_v1/style.css" rel="stylesheet" type="text/css" />
	<link href="<?php echo $_BASE_DIR?>css_v1/select.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/jquery.js"></script>
	<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/jmw.js"></script>
	<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/select-ui.min.js"></script>
	<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/jquery.DatePicker.js"></script>

	<script type="text/javascript">
        $(document).ready(function(e) {
            $(".select1").uedSelect({
                width : 345
            });
            $(".select2").uedSelect({
                width : 167
            });
            $(".select3").uedSelect({
                width : 80
            });
        });
	</script>



</head>

<body>

<div class="place">
	<span>位置：</span>
	<ul class="placeul">
		<li><a href="<?php echo url("leftmenu/bottom")?>">首页</a></li>
		<li><a href="#">公司信息</a></li>
	</ul>
</div>
<form method="post" action="<?php echo url("company/index") ?>">

</form>
<div class="tools">
	<ul class="toolbar">
		<li><a href="<?php echo url("company/add") ?>"><span><img
						src="<?php echo $_BASE_DIR ?>images_v1/t01.png"/></span>添加</a>
		</li>
		<li><a href="#" onclick="editindex('id','<?php echo url("company/add") ?>/id/')"><span><img
						src="<?php echo $_BASE_DIR ?>images_v1/t02.png"/></span>修改</a></li>
		<li class="click"><a href="#"
		                     onclick="isDel('id','<?php echo url("company/del") ?>','ids[]')"><span><img
						src="<?php echo $_BASE_DIR ?>images_v1/t03.png"/></span>删除</a></li>
	</ul>
</div>
<!---------------------------------------------------------------------------- -->

<script>
    $('#created_timestart').datePicker({followOffset : [0, 24]});
    $('#created_timeend').datePicker({followOffset : [0, 24]});
</script>
<form action="" method="post" name="form">

	<table class="tablelist">

		<thead>
		<tr>
			<th width="5%"><input type="checkbox" value="on" name="chkall" onClick="CheckAll(this.form)"/></th>
			<th width="10%">公司名</th>
			<th width="5%" >管理员</th>
			<th width="5%" >审核密码</th>
			<th width="15%" >添加时间</th>
            <th width="5%" >查看成员</th>
		</tr>
		</thead>
		<tbody>
		<?php foreach ($item as $k=>$v):?>
			<tr>
				<td><input name="id" id="id" type="checkbox" value="<?php echo $v->id?>" /></td>
				<td><?php echo h($v->company_name);?></td>
				<td><?php echo h($v->acctuser->nickname);?></td>
				<td><?php echo h($v->review_password);?></td>
				<td><?php echo date('Y-m-d H:i:s',$v['created']);?></td>
				<td><a style="color: blue" href="<?php echo url('company/see',array('company_id'=>$v->id)) ?>">查看成员</a></td>
				</td>
			</tr>
		<?php endforeach;?>

		</tbody>
	</table>

</form>

<?php echo Q::control('pagination','pagination',array('url_args'=>$param,'pagination'=>$pagination,'show_count'=>1))?>
</div>

<script type="text/javascript">
    $('.tablelist tbody tr:odd').addClass('odd');
</script>

</body>
<iframe id="excel" name="excel" width="0" height="0"></iframe>
</html>



